package com.lanhai.model;

import java.util.Date;
import java.util.Set;

/**
 * Sdevice entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@SuppressWarnings("unchecked")
public class Sdevice implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 2605844430225590330L;
	private Integer id;
	private Suser suser;
	private String devicenum;
	private String carnum;
	private String ownername;
	private String telephone;
	private Date starttime;
	private Date endtime;
	private String devicepwd;
	private Boolean enable;
	private String simnum;
	private Date createTime;
	private Set srefuels;
	private Set sinfos;

	// Constructors

	/** default constructor */
	public Sdevice() {
	}

	/** minimal constructor */
	public Sdevice(String devicenum) {
		this.devicenum = devicenum;
	}

	public Sdevice(String devicenum, String carnum, String ownername, String telephone,
			Date starttime, Date endtime, String simnum) {
		super();
		this.devicenum = devicenum;
		this.carnum = carnum;
		this.ownername = ownername;
		this.telephone = telephone;
		this.starttime = starttime;
		this.endtime = endtime;
		this.simnum = simnum;
	}

	/** full constructor */
	public Sdevice(Suser suser, String devicenum, String carnum, String ownername,
			String telephone, Date starttime, Date endtime, String devicepwd, Boolean enable,
			String simnum, Date createTime) {
		this.suser = suser;
		this.devicenum = devicenum;
		this.carnum = carnum;
		this.ownername = ownername;
		this.telephone = telephone;
		this.starttime = starttime;
		this.endtime = endtime;
		this.devicepwd = devicepwd;
		this.enable = enable;
		this.simnum = simnum;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Suser getSuser() {
		return this.suser;
	}

	public void setSuser(Suser suser) {
		this.suser = suser;
	}

	public String getDevicenum() {
		return this.devicenum;
	}

	public void setDevicenum(String devicenum) {
		this.devicenum = devicenum;
	}

	public String getCarnum() {
		return this.carnum;
	}

	public void setCarnum(String carnum) {
		this.carnum = carnum;
	}

	public String getOwnername() {
		return this.ownername;
	}

	public void setOwnername(String ownername) {
		this.ownername = ownername;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Date getStarttime() {
		return this.starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return this.endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public String getDevicepwd() {
		return this.devicepwd;
	}

	public void setDevicepwd(String devicepwd) {
		this.devicepwd = devicepwd;
	}

	public String getSimnum() {
		return this.simnum;
	}

	public void setSimnum(String simnum) {
		this.simnum = simnum;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Boolean getEnable() {
		return enable;
	}

	public void setEnable(Boolean enable) {
		this.enable = enable;
	}

	public Set getSrefuels() {
		return srefuels;
	}

	public void setSrefuels(Set srefuels) {
		this.srefuels = srefuels;
	}

	public Set getSinfos() {
		return sinfos;
	}

	public void setSinfos(Set sinfos) {
		this.sinfos = sinfos;
	}

}